]> dgit.raspbian.org Git - gnome-shell.git/commitdiff
network: Initialize primary and VPN connections on startup
authorFlorian Müllner <fmuellner@gnome.org>
Wed, 3 Jun 2015 10:30:12 +0000 (12:30 +0200)
committerFlorian Müllner <fmuellner@gnome.org>
Fri, 30 Sep 2016 11:50:30 +0000 (13:50 +0200)
We only connect to the corresponding property notifications after both
Client and RemoteSettings are ready, so we may miss the initial signal
emission. Make sure to pick up the connections in this case to fix the
network indicator not showing up.

https://bugzilla.gnome.org/show_bug.cgi?id=772249

js/ui/status/network.js

index 6f42aea0601ec2f6fcd172c5e0cabe765bfd3db3..fee703bed9ba3e8759c45539fb0548dead656b19 100644 (file)
@@ -1632,6 +1632,8 @@ const NMApplet = new Lang.Class({
         this._readConnections();
         this._readDevices();
         this._syncNMState();
+        this._syncMainConnection();
+        this._syncVPNConnections();
 
         this._client.connect('notify::manager-running', Lang.bind(this, this._syncNMState));
         this._client.connect('notify::networking-enabled', Lang.bind(this, this._syncNMState));